public class test1 {
    public static void main(String[] args) {
        String phonenumber = "08975623445";
        String start = phonenumber.substring(0,3);
        String end = phonenumber.substring(7);
        String all = start + "****" + end;
        System.out.println(all);
    }
}
